//
//  Phone.h
//  OC2_方法
//
//  Created by dllo on 15/10/23.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Phone : NSObject

{

    NSString *_name;
    NSString *_color;
    NSInteger _number;
    CGFloat _weight;

}

- (NSString *)name;

- (void)setName:(NSString *)name;

- (NSString *)color;

- (void)setColor:(NSString *)color;

-(NSInteger)number;

- (void)setNumber:(NSInteger)number;

- (CGFloat)weight;

-(void)setWeight:(CGFloat)weight;

-(id)initWithName:(NSString *)name color:(NSString *)color number:(NSInteger)number weight:(CGFloat)weight;

-(void)info;

@end
